import request from '../utils/request';

export function getCart(){
    return request.get('/cart/index')
}
export function updateCart(goodsId:string,id:string,number:string,productId:string){
    return request.post('/cart/update',{goodsId,id,number,productId})
}
export function getChecked(isChecked:number,productIds:string){
    return request.post('/cart/checked',{isChecked,productIds})
}
export function delGoods(productIds:string){
    return request.post('/cart/delete',{productIds})
}